#!/bin/sh

case $1 in
   config)
        cat <<'EOM'
graph_title Happy Users
graph_vlabel happy
happy.label happy
graph_args --base 1000 -l 0
graph_scale no
graph_category feedback
happy.warning 10
happy.critical 120
graph_info The amount of happy users in the system
load.info The amount of happy users in the system
EOM
        exit 0;;
esac

echo -n "happy.value "
/home/managing/Documents/COMP41420/Lab4/repo/svn/branches/arman-seamus/munin-plugin/happy